Moderate: httpd24-httpd security and bug fix update

Synopsis

Moderate: httpd24-httpd security and bug fix update

Type/Severity

Security Advisory: Moderate

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An update for httpd24-httpd is now available for Red Hat Software Collections.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

The httpd packages provide the Apache HTTP Server, a powerful, efficient, and extensible web server.

Security Fix(es):

  • httpd: mod_sed: Read/write beyond bounds (CVE-2022-23943)
  • httpd: Request splitting via HTTP/2 method injection and mod_proxy (CVE-2021-33193)
  • httpd: NULL pointer dereference via malformed requests (CVE-2021-34798)
  • httpd: mod_proxy_uwsgi: out-of-bounds read via a crafted request uri-path (CVE-2021-36160)
  • httpd: Out-of-bounds write in ap_escape_quotes() via malicious input (CVE-2021-39275)
  • httpd: possible NULL dereference or SSRF in forward proxy configurations (CVE-2021-44224)
  • httpd: mod_lua: Use of uninitialized value of in r:parsebody (CVE-2022-22719)
  • httpd: core: Possible buffer overflow with very large or unlimited LimitXMLRequestBody (CVE-2022-22721)
  • httpd: mod_proxy_ajp: Possible request smuggling (CVE-2022-26377)
  • httpd: mod_lua: DoS in r:parsebody (CVE-2022-29404)
  • httpd: mod_sed: DoS vulnerability (CVE-2022-30522)
  • httpd: mod_proxy: X-Forwarded-For dropped by hop-by-hop mechanism (CVE-2022-31813)
  • httpd: out-of-bounds read via ap_rwrite() (CVE-2022-28614)
  • httpd: out-of-bounds read in ap_strcmp_match() (CVE-2022-28615)
  • httpd: mod_lua: Information disclosure with websockets (CVE-2022-30556)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Bug Fix(es):

  • proxy rewrite to unix socket fails with CVE-2021-40438 fix (BZ#2022319)

Additional changes:

  • To fix CVE-2022-29404, the default value for the "LimitRequestBody" directive in the Apache HTTP Server has been changed from 0 (unlimited) to 1 GiB.

On systems where the value of "LimitRequestBody" is not explicitly specified in an httpd configuration file, updating the httpd package sets "LimitRequestBody" to the default value of 1 GiB. As a consequence, if the total size of the HTTP request body exceeds this 1 GiB default limit, httpd returns the 413 Request Entity Too Large error code.

If the new default allowed size of an HTTP request message body is insufficient for your use case, update your httpd configuration files within the respective context (server, per-directory, per-file, or per-location) and set your preferred limit in bytes. For example, to set a new 2 GiB limit, use:

LimitRequestBody 2147483648

Systems already configured to use any explicit value for the "LimitRequestBody" directive are unaffected by this change.

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

After installing the updated packages, the httpd daemon will be restarted automatically.

Affected Products

  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 7 x86_64
  • Red Hat Software Collections (for RHEL Server for System Z) 1 for RHEL 7 s390x
  • Red Hat Software Collections (for RHEL Server for IBM Power LE) 1 for RHEL 7 ppc64le
  • Red Hat Software Collections (for RHEL Workstation) 1 for RHEL 7 x86_64

Fixes

  • BZ - 1966728 - CVE-2021-33193 httpd: Request splitting via HTTP/2 method injection and mod_proxy
  • BZ - 2005119 - CVE-2021-39275 httpd: Out-of-bounds write in ap_escape_quotes() via malicious input
  • BZ - 2005124 - CVE-2021-36160 httpd: mod_proxy_uwsgi: out-of-bounds read via a crafted request uri-path
  • BZ - 2005128 - CVE-2021-34798 httpd: NULL pointer dereference via malformed requests
  • BZ - 2034672 - CVE-2021-44224 httpd: possible NULL dereference or SSRF in forward proxy configurations
  • BZ - 2064319 - CVE-2022-23943 httpd: mod_sed: Read/write beyond bounds
  • BZ - 2064320 - CVE-2022-22721 httpd: core: Possible buffer overflow with very large or unlimited LimitXMLRequestBody
  • BZ - 2064322 - CVE-2022-22719 httpd: mod_lua: Use of uninitialized value of in r:parsebody
  • BZ - 2094997 - CVE-2022-26377 httpd: mod_proxy_ajp: Possible request smuggling
  • BZ - 2095002 - CVE-2022-28614 httpd: out-of-bounds read via ap_rwrite()
  • BZ - 2095006 - CVE-2022-28615 httpd: out-of-bounds read in ap_strcmp_match()
  • BZ - 2095012 - CVE-2022-29404 httpd: mod_lua: DoS in r:parsebody
  • BZ - 2095015 - CVE-2022-30522 httpd: mod_sed: DoS vulnerability
  • BZ - 2095018 - CVE-2022-30556 httpd: mod_lua: Information disclosure with websockets
  • BZ - 2095020 - CVE-2022-31813 httpd: mod_proxy: X-Forwarded-For dropped by hop-by-hop mechanism